home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / elk-2_0.lha / elk-2.0 / doc / tmac / tmac.scheme < prev   
Text File  |  1991-08-05  |  2KB  |  114 lines

  1. .\" A font suitable for Scheme keywords and program examples
  2. .\" must be mounted on font position 5.
  3. .\" For example:  .fp 5 TT  (Typewriter font)
  4. .\"          or:  .fp 5 HR  (Helvetica Roman)
  5. .\"          or:  .fp 5 C   (Courier)
  6. .\"
  7. .fp 5 C
  8. .
  9. .              \" Underline page top
  10. .am PT
  11. .if \\n%-1 .tl ?\\v'-.6v'\\l'\\n(LLu\(ru'\\v'.6v'
  12. ..
  13. .              \" Index entry
  14. .de Ix
  15. .tm \\n%:\\$1:\\$2:\\$3
  16. ..
  17. .             \" Index entry (definition)
  18. .de Id
  19. .Ix "\\$1" "\\$2" @DEF@
  20. ..
  21. .              \" Scheme code start
  22. .de Ss
  23. .KS
  24. .ta 8.5c
  25. .ft 5
  26. .ps -1
  27. .vs -1
  28. .nf
  29. .in 1c
  30. .sp .3c
  31. ..
  32. .              \" Scheme code end
  33. .de Se
  34. .ft
  35. .ps
  36. .vs
  37. .fi
  38. .in
  39. .KE
  40. .sp .5
  41. ..
  42. .              \" Scheme keyword
  43. .de S
  44. .ft 5
  45. .ps -1
  46. .if \\n(.$=1 \&\\$1
  47. .if \\n(.$>1 \&\\$1\c
  48. .ft
  49. .ps
  50. .if \\n(.$>1 \&\\$2
  51. ..
  52. .              \" Chapter
  53. .de Ch
  54. .br
  55. .ne 2.5c
  56. .NH
  57. \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  58. .XS
  59. \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
  60. .XE
  61. ..
  62. .              \" Procedure
  63. .de Pr
  64. .SH
  65. .ds xx "
  66. .if \\n(.$>=2 .as xx " \f2\\$2\fP
  67. .if \\n(.$>=3 .as xx " \f2\\$3\fP
  68. .if \\n(.$>=4 .as xx " \f2\\$4\fP
  69. .if \\n(.$>=5 .as xx " \f2\\$5\fP
  70. .if \\n(.$>=6 .as xx " \f2\\$6\fP
  71. .if \\n(.$>=7 .as xx " \f2\\$7\fP
  72. .if \\n(.$>=8 .as xx " \f2\\$8\fP
  73. .if \\n(.$>=9 .as xx " \f2\\$9\fP
  74. .tl '(\\$1\|\\*(xx)'\&'procedure'
  75. .LP
  76. .Id "\\$1"
  77. ..
  78. .              \" Syntax
  79. .de Sy
  80. .SH
  81. .ds xx "
  82. .if \\n(.$>=2 .as xx " \f2\\$2\fP
  83. .if \\n(.$>=3 .as xx " \f2\\$3\fP
  84. .if \\n(.$>=4 .as xx " \f2\\$4\fP
  85. .if \\n(.$>=5 .as xx " \f2\\$5\fP
  86. .if \\n(.$>=6 .as xx " \f2\\$6\fP
  87. .if \\n(.$>=7 .as xx " \f2\\$7\fP
  88. .if \\n(.$>=8 .as xx " \f2\\$8\fP
  89. .if \\n(.$>=9 .as xx " \f2\\$9\fP
  90. .tl '(\\$1\|\\*(xx)'\&'syntax'
  91. .LP
  92. .Id "\\$1"
  93. ..
  94. .              \" Variable
  95. .de Va
  96. .SH
  97. .tl '\\$1'\&'variable'
  98. .LP
  99. .Id "\\$1"
  100. ..
  101. .              \" Correct spacing between consecutive .Pr, .Sy, or .Va
  102. .de Up
  103. .rs
  104. .sp -1.3
  105. ..
  106. .              \" Table of contents
  107. .de Tc
  108. .de PT
  109. \\..
  110. .1C
  111. .bp
  112. .PX
  113. ..
  114.